import os
from pathlib import Path

# 获取环境变量，默认为'development'
ENVIRONMENT = os.environ.get('DJANGO_ENV', 'development')

if ENVIRONMENT == 'production':
    from .settings_prod import *
else:
    from .settings_dev import *
